package gof23.create.singleton;

/**
 * 饿汉模式
 * @author zhiyizha
 *
 */
public class HungrySingleton {

	private static HungrySingleton singleton = new HungrySingleton();
	
	private HungrySingleton(){}
	
	public static HungrySingleton getInstance(){
		return singleton;
	}
}
